package cn.rubintry.bug.ui.components


import android.content.Context
import android.graphics.Canvas
import android.graphics.Paint
import android.util.AttributeSet
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import com.blankj.utilcode.util.SizeUtils

class CustomTabView : View {
    private var mText: String = ""

    constructor(context: Context?, mText: String) : super(context) {
        this.mText = mText
    }

    constructor(context: Context?, attrs: AttributeSet?, mText: String) : super(context, attrs) {
        this.mText = mText
    }

    constructor(context: Context?, attrs: AttributeSet?, defStyleAttr: Int, mText: String) : super(
        context,
        attrs,
        defStyleAttr
    ) {
        this.mText = mText
    }

    override fun onDraw(canvas: Canvas) {
        super.onDraw(canvas)
//        canvas.drawText(mText , )
    }
}